package Year2021.month10.Day21;

public class NetTeacher extends Teacher {
    public NetTeacher(String name, int age, int teachingAge, String sex) {
        super(name, age, teachingAge, sex);
    }

    public void net() {
        System.out.println("是net老师，可以教同学们C#的知识！");
    }
}
